package hmvc4gwt.framework.client.events;

import hmvc4gwt.client.event.AEvent;
import hmvc4gwt.client.view.AView;
import hmvc4gwt.client.view.IView;

public class RemoveViewEvent extends AEvent {

	public RemoveViewEvent(IView view) {
		setPayload(view);
	}
	
	public Class getClassOfObject() {
		return RemoveViewEvent.class;
	}

	public IView getView() {
		return (AView) getPayload();
	}

}
